<?php
/**
 * @var \Mslynn\Productsale\Block\SaleBlock $block
 *
 */


?>
<?php if ($block->getSold()): ?>
<div style="float: left;    display: block;
    font-weight: normal;
    font-size: 12px;
    height: 20px;
    line-height: 20px;
    margin-right: 10px;
    text-transform: capitalize;
    color: #f30;
    margin-top: 3px;
    border: 1px solid #ffc7a0;
    border-radius: 10px;
    padding: 0 10px;">
    Sold:<b><?php echo $block->getSold();?></b>
</div>
<?php endif ?>